﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////


#pragma once
#include "GcmpSnapInterface.h"
#include "IObject.h"

namespace gcmp
{
    struct RemoteSnapData;

    /// \brief 远程捕捉过滤器，用于过滤不希望被远程捕捉到几何图形
    class GCMP_SNAP_INTERFACE_EXPORT IRemoteSnapFilter : public IObject
    {
    public:
        /// \brief 设置是否允许远程捕捉该几何图形
        /// \param remoteSnapData 远程捕捉数据
        /// \return 允许返回true，否则返回false
        virtual bool AllowSnap(const RemoteSnapData& remoteSnapData) const = 0;
    };
}



